package com.wangqinlei.cowims126.mapper;

import com.wangqinlei.cowims126.pojo.Breeder;

import java.util.List;
import java.util.Map;

/**
 * @author 王勤磊
 */
public interface BreederMapper {
    List<Breeder> queryList(Map<String, Object> paramMap);

    Integer queryCount(Map<String, Object> paramMap);

    int deleteBreeder(List<Integer> ids);

    int addBreeder(Breeder Breeder);

    Breeder findById(Integer tid);

    int editBreeder(Breeder Breeder);

    Breeder findByBreeder(Breeder Breeder);

    int editPswdByBreeder(Breeder Breeder);

    int findByName(String name);
}
